package com.guodi.model.service.impl;

import com.guodi.core.mp.base.BaseServiceImpl;
import com.guodi.model.entity.UserRole;
import com.guodi.model.mapper.UserRoleMapper;
import com.guodi.model.service.IUserRoleService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class UserRoleServiceImpl extends BaseServiceImpl<UserRoleMapper, UserRole> implements IUserRoleService {

    @Resource
    private UserRoleMapper userRoleMapper;


    @Override
    public void delByUserId(Long userId) {
        userRoleMapper.delByUserId(userId);
    }
}
